Skip to content

Comments

feat: add explicit state machine model for market lifecycle #351

Closed
dinahmaccodes wants to merge 2 commits intoWeb3Novalabs:mainfrom
dinahmaccodes:issue330
Closed

feat: add explicit state machine model for market lifecycle #351
dinahmaccodes wants to merge 2 commits intoWeb3Novalabs:mainfrom
dinahmaccodes:issue330

Conversation

@dinahmaccodes
Copy link
Contributor

@dinahmaccodes dinahmaccodes commented Feb 21, 2026

No description provided.

- Add MarketState enum (Active, Resolved, Canceled)
- Update Pool struct to use state instead of resolved flag
- Add state transition guards and validation
- Implement cancel_pool function
- Add PoolCanceledEvent
@vercel
Copy link

vercel bot commented Feb 21, 2026

@dinahmaccodes is attempting to deploy a commit to the shola's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dinahmaccodes dinahmaccodes changed the title feat: add explicit state machine model for market lifecycle @dinahmaccodes feat: add explicit state machine model for market lifecycle Feb 21, 2026
@drips-wave
Copy link

drips-wave bot commented Feb 22, 2026

Hey @dinahmaccodes! 👋 It looks like this PR isn't linked to any issue.

If this PR is for one of the issues assigned to you as part of a Wave, please link it to ensure your contribution is tracked properly. You can do this by adding a keyword to the PR description (e.g., Closes #123), or by clicking a button below:

Issue Title
#330 Audit and Harden State Transitions Link to this issue

ℹ️ Learn more about linking PRs to issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant